import { request, METHOD } from '@/utils/request';
import { UNCHECKED_FLOWS, GETAUDITDETAILS, DONE_FLOWS } from './api';

export async function getUncheckedFlows(params) {
  return request(UNCHECKED_FLOWS, METHOD.POST, params);
}

export async function getDoneFlows(params) {
  return request(DONE_FLOWS, METHOD.POST, params);
}

export async function getAuditDetails(params) {
  return request(GETAUDITDETAILS, METHOD.GET, params);
}
